Avoid updating the registry too frequently
authorAlex Crichton <alex@alexcrichton.com>
Thu, 23 Oct 2014 20:04:08 +0000 (13:04 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 27 Oct 2014 19:40:23 +0000 (12:40 -0700)
commit640487c9e8879e543713b5941af60bb01ac0a2a6
tree049dd714a9f21f9586c76a8e13a25dd9408d9e96
parent33e0017ebf1036118d35ee5dafd0d46e84eb4e27
Avoid updating the registry too frequently

This logic is based off the precision of the registry source's id as well as the
dependencies being passed in. More info can be found in the comments.
src/cargo/ops/cargo_generate_lockfile.rs
src/cargo/ops/resolve.rs
src/cargo/sources/registry.rs
tests/test_cargo_registry.rs